First list the keystore;  Default is ~/.keystore
Open command line and type:
keytool -list  [-keystore path_to_store]

Then import key 
keytool -import -alias dpd -file ../certificate/public-ws-stage.dpd.com -keystore /home/aochoa/.keystore

If it is a new store it will ask for a password: I used ibcinc|ibcpass

Then accept the installation 
and list again to confirm.

You can run your program by calling java -Djavax.net.ssl.trustStore=path_to_store -cp . JAVA_CLASS

On windows machines
@echo off
set J_HOME="C:\Program Files\Java\jre7\bin"

%J_HOME%\keytool -importcert -alias dpd -file C:\public-ws-stage.dpd.com
@pause